﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text; 

namespace CashAgent.Biz
{
    public class DicData : DbBase
    {
        /// <summary>
        /// 获取菜单列表
        /// </summary>
        /// <returns></returns>
        public DataTable GetFoodList()
        {
            //CALL "DBA"."HLL_SP_GetFoodLst"() 
            return base.GetDataTable("CALL DBA.HLL_SP_GetFoodLst()", "FoodList");
        }

        /// <summary>
        /// 获取沽清菜单列表
        /// </summary>
        /// <returns></returns>
        public DataTable GetSellClearFoodList()
        {
            //CALL "DBA"."HLL_SP_GetSoldOutFoodLst"()
            return base.GetDataTable("CALL DBA.HLL_SP_GetSoldOutFoodLst()", "SellClearFoodList");
        }

        /// <summary>
        /// 获取桌台列表
        /// </summary>
        /// <returns></returns>
        public DataTable GetTableList()
        {
            //CALL "DBA"."HLL_SP_GetTableLst"()
            return base.GetDataTable("CALL DBA.HLL_SP_GetTableLst()", "TableList");
        }
    }
}
